﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GAM_Web_Designer_Pro.Forms {
    public partial class ViewImageForm : Form {
        public ViewImageForm( string imgLocation ) {
            InitializeComponent();
            Image image = Image.FromFile( imgLocation, true );
            this.Width = image.Width;
            this.Height = image.Height;
            pictureBox1.Image = image;
        }
    }
}
